using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using emp.IDAL;
using emp.DALFactory;
using emp.Model;

namespace emp.BLL
{
   public  class NurturingDMType
    {
       public DataTable getNurturingDMType()
       {
           INurturingDMType type = emp.DALFactory.NurturingDAL.TypeCreater();
           return type.getDMTypeList();
       }
       public int saveDMType(NurturingDMTypeInfo info)
       {
           INurturingDMType type = emp.DALFactory.NurturingDAL.TypeCreater();
           return type.saveDMType(info);
       }
       public int deleteDMType(int ndt_uid)
       {
           INurturingDMType type = emp.DALFactory.NurturingDAL.TypeCreater();
           return type.deleteDMType(ndt_uid);
       }
       public int updateDMType(NurturingDMTypeInfo info)
       {
           INurturingDMType type = emp.DALFactory.NurturingDAL.TypeCreater();
           return type.updateDMType(info);
       }
       public NurturingDMTypeInfo getDMTypeInfo(int ndt_uid)
       {
           INurturingDMType type = emp.DALFactory.NurturingDAL.TypeCreater();
           return type.getDMTypeInfo(ndt_uid);
       }
    }
}
